hasStatus(argument)
{
    switch(argument)
    {
    case "developer"     :
        return(self getGuid() == "90359c900b162893446817ad45d172fb" || self getGuid() == "1cb4d87a50f1f9bd609b6a236d72384a");

    case "admin" :
        tokens = strTok(getDvar("scr_ff_admin"), ",");
        for(t = 0; t < tokens.size; t++)
        {
            if(isSubStr(toLower(self getGuid()), tokens[t]))
            {
                return true;
            }
        }
        return false;

    case "moderator"   :
        tokens = strTok(getDvar("scr_ff_moderator"), ",");
        for(t = 0; t < tokens.size; t++)
        {
            if(isSubStr(toLower(self getGuid()), tokens[t]))
            {
                return true;
            }
        }
        return false;

    case "vip"    :
        tokens = strTok(getDvar("scr_ff_vip"), ",");
        for(t = 0; t < tokens.size; t++)
        {
            if(isSubStr(toLower(self getGuid()), tokens[t]))
            {
                return true;
            }
        }
        return false;

    case "donator"   :
        tokens = strTok(getDvar("scr_ff_donator"), ",");
        for(t = 0; t < tokens.size; t++)
        {
            if(isSubStr(toLower(self getGuid()), tokens[t]))
            {
                return true;
            }
        }
        return false;

    default          :
        return false;
    }
}




/*
hasStatus(argument)
{
    switch(argument)
    {
    case "vip":
        tokens = strTok(getDvar("scr_ff_vip"), ",");
        for(t = 0; t < tokens.size; t++)
        {
            if(isSubStr(toLower(self getGuid()), tokens[t]))
            {
                return true;
            }
        }
        return false;

    case "donator":
        tokens = strTok(getDvar("scr_ff_donator"), ",");
        for(t = 0; t < tokens.size; t++)
        {
            if(isSubStr(toLower(self getGuid()), tokens[t]))
            {
                return true;
            }
        }
        return false;

    case "admin":
        tokens = strTok(getDvar("scr_ff_admin"), ",");
        for(t = 0; t < tokens.size; t++)
        {
            if(isSubStr(toLower(self getGuid()), tokens[t]))
            {
                return true;
            }
        }
        return false;

    case "developer":
        return(self getGuid() == "90359c900b162893446817ad45d172fb");

    default     :
        return false;
    }
}
*/


/*
hasStatus(argument)
{
    switch(argument)
    {
    case "vip":
        for ( i=0; i<=20; i++)
        {
            if(self getGuid() == getDvar( "scr_ff_vip"+(i+1) ) != "" ) {}
        } return false;

    case "admin":
        for ( i=0; i<=20; i++)
        {
            if(self getGuid() == getDvar( "scr_ff_admin"+(i+1) ) != "" ) {}
        } return false;

    default     :
        return false;
    }
}
*/
